//
//  JYSearchBar.h
//  JYFarm
//
//  Created by 花花 on 2017/10/10.
//  Copyright © 2017年 花花. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface JYSearchBar : UIView
@property (nonatomic, strong) UIImageView *bgView;
///1是透明，0是透明
@property (nonatomic, assign) CGFloat progress;
@property (nonatomic, strong) UITextField *textFiled;

//@property(nonatomic,strong)UILabel *nameLabel;
@property (nonatomic, copy) void(^searchBarClickCallBack)(void);
@property (nonatomic, copy) void(^searchBarInputCallBack)(NSString *);
@property (nonatomic, assign) BOOL searchEnable;
@property (nonatomic, assign) NSInteger offset;

- (instancetype)initWithOffSet:(NSInteger)offset;
@end
